package com.tvpush.manage.core.entity.system;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author ouyangzn
 * @since 2019-03-24
 */
@Data
@Accessors(chain = true)
@TableName("sys_street")
public class SysStreet extends Model<SysStreet> {

    private static final long serialVersionUID = 1L;

    private String id;
    private String name;
    @TableField("district_id")
    private String districtId;
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String DISTRICT_ID = "district_id";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
